#define _CRT_SECURE_NO_WARNINGS

#include"stack.hpp"

void test01()
{
	vector<int> v = { 1,2,3,4,5,6 };
	mystack::stack<int,vector<int>> s;
	s.push(100);
	s.push(200);
	s.push(300);
	s.push(400);
	s.push(500);

	while (!s.empty())
	{
		cout << s.top() << endl;
		cout << s.size() << endl;
		s.pop();
	}
}

int main()
{
	test01();
}